Overview

What is an agent-based model?

So far we have treated populations as either continuous or discrete, but homogeneous in their characteristics. But sometimes individual heterogeneity plays a critical role in the dynamics of the process of interest. Agent-based models (ABMs) have several important components that distinguish them from other models

  1. Individualistic parameterization
  2. Heterogeneous individuals
  3. Interactions between individuals/groups
  4. Complex behavior
  5. non-eqilibrium/non-steady-state dynamics

Often ABMs are purely simulation models, because it can be difficult to study their dynamics analytically or learn about them from data. Sometimes ABMs are so complex they require supercomputers to do the simulation.

Our philosophy

All models that generate individual outcomes are agent-based models. Population-based compartmental models just assume that all the agents in the same state are homogeneous.

Many statistical models qualify as agent-based models since they represent individual outcomes, incorporate individualistic covariates, and may represent interactions between heterogeneous individuals, or exhibit other complex behavior.

Researchers often hope that ABMs will exhibit emergent behavior, or complex dynamics that result from the simulation, but are not explicitly represented in the model structure.

However, mostly ABMs just do exactly what researchers parameterize them to do.

Example: SIR model with heterogeneity

Imagine we have \(N\) individuals in a closed SIR model. If \(i\) is susceptible, the rate of infection is \[ \lambda_i(t) = \beta_i I(t) \] where \(I(t)\) is the number of infectious individuals. If \(i\) is infectious, the rate of recovery is \(\gamma_i\). We could parameterize these individualistic rates as folows, \[ \beta_i = \exp[z_i \theta] \] \[ \gamma_i = \exp[w_i \phi] \]

where \(z_i\) and \(w_i\) are randomly drawn from a normal distribution, and \(\theta\) and \(\phi\) are fixed coefficients.

Pitfalls of ABMs

ABMs can be dangerous because they may seem complex, but are constrained by their structure, parameterization, and calibration.

  • When ABMs give dynamics similar to those observed in the real world, we don’t always know whether they are capturing the mechanism correctly.
  • When ABMs give dynamics starkly different from what we see in the real world, we do not always know why.

Pitfalls of ABMs

Researchers use ABMs to predict the effect of hypothetical population-level policies before these policies are tested empirically. This can be dangerous, because assumptions about how agents behave in the absence of the intervention, and how the intervention affects their behavior, may lead researchers to draw erroneous conclusions about a situation that has never before occurred.

It is very easy to understate uncertainty in predictions/inferences from an ABM because ABMs may not capture all sources of stochasticity in the real world.

For more on this controversy, see: Marshall and Galea (2014) and citing articles.

References

Marshall, Brandon DL, and Sandro Galea. 2014. “Formalizing the Role of Agent-Based Modeling in Causal Inference and Epidemiology.” American Journal of Epidemiology 181 (2). Oxford University Press: 92–99.